import 'package:fluro/fluro.dart';
import '../pages/exam/exam_libs/exam_theme.dart';
import '../nav.dart';
import '../pages/start/subject.dart';

class Routes {
  static Router router;

  static void configureRoutes(Router router) {
    router.define(
      '/navs',
      handler: Handler(handlerFunc: (context, params) {
        return NavigationItem();
      })
    );

    router.define(
      '/start/subject',
      handler: Handler(handlerFunc: (context, params) {
        return ChooseSubject();
      })
    );

    router.define(
      '/exam/theme',
      handler: Handler(handlerFunc: (context, params) {
        return ExamTheme();
      })
    );

    Routes.router = router;
  }
}